package com.itheima.mapper;

import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
import java.util.Objects;

@Mapper
public interface ReportMapper {
    /**
     * 统计上下架商品统计
     *
     * @return
     */
    @MapKey("name")
    List<Map<String, Objects>> getProductUpOrDown();

    @MapKey("name")
    List<Map<String, Objects>> getProductStatus();
}
